<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
       	<title>向往的生活家—后台管理</title>
		<link rel="stylesheet" href="/css/x-admin.css" />
		<link rel="stylesheet" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" href="/static/layer/skin/layer.css" />
		<link rel="stylesheet" href="/css/common.css" />
		<link rel="stylesheet" href="/css/curse.css" />
		<link rel="stylesheet" href="/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/css/Sales_Report_personal.css" />
		<link rel="stylesheet" href="/css/datetime.css" />
		<link rel="stylesheet" href="/css/list.css" />
		<link rel="stylesheet" href="/css/dateRange.css" />
        <link rel="stylesheet" href="/css/gl.css" />
		    
        <script type="text/javascript" src="/js/jquery.min.js" ></script>
		<script type="text/javascript" src="/static/layui/layui.js" ></script>
		<script type="text/javascript" src="/static/layer/layer.js" ></script>
		<script type="text/javascript" src="/js/x-layui.js" ></script>
        <!--支持iE-->
        <!--<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>-->
		
		<script type="text/javascript" src="/js/bkwcrm.js" ></script>
        <script type="text/javascript" src="/js/common.js" ></script>
        <script type="text/javascript" src="/js/base.js" ></script>
		<script type="text/javascript" src="/js/dateRange.js" ></script>
		<script type="text/javascript" src="/js/page.js?version=20181212" ></script>
		
		<script type="text/javascript" src="/js/classification/banner-list.js?version=20181214" ></script>
		<style>
			.layui-btn {
			    line-height: 38px;
			    padding: 0 10px;
    		}
			xblock button{
				float: left;
			}
			.upload_img_show{
                width: 80%;
                float: left;
            }
            .layer_photos .layui-layer-phimg img {
                max-width: 800px;
                max-height: 550px;
            }
		</style>
    </head>
    <body>
        
        <div class="x-body">
        	<!-- 时间选择 -->
	        <div style="margin-bottom:10px;border-bottom: 0px;padding-bottom: 0px;height: 27px;"  class="nav_wrap_personal">
	            <ul class="personal_nav_timetab select_time1">
	                <li name="0" class="blue_color">今日</li>
	                <li name="1" >昨日</li>
	                <li name="7">最近7日</li>
	                <li name="30">最近30日</li>
	                <li name="">全部</li>
	            </ul>
	            <div class="input_long_wrap">
	                <div class="ta_date" id="div_date1" style="margin-right: -20px">
	                    <span class="date_title" id="date1">2017-10-25 - 2017-10-26</span>
	                </div><label class="contrast" for="needCompare_1508986225539" style="display: none;"><input type="checkbox" class="pc" name="needCompare_1508986225539" id="needCompare_1508986225539" value="1" disabled="disabled">对比</label><div class="ta_date" id="div_compare_date1" style="display: none;">	<span name="dateCompare" id="date1Compare" class="date_title" style="display: none;"></span>	<a class="opt_sel" id="compare_trigger" href="javascript:void(0)">		<i class="i_orderd"></i>	</a></div>
	                <label class="contrast" for="needCompare_1508756891010" style="display: none;">
	                    <input type="checkbox" class="pc" name="needCompare_1508756891010" id="needCompare_1508756891010" value="1" disabled="disabled">对比</label>
	                <div class="ta_date" id="div_compare_date1" style="display: none;">	<span name="dateCompare" id="date1Compare" class="date_title" style="display: none;"></span>
	                    <a class="opt_sel" id="compare_trigger" href="javascript:void(0)">		<i class="i_orderd"></i>	</a>
	                </div>
	            </div>
	          
	        </div>
		
        	<xblock>
				<button class="layui-btn layui-btn-danger" onclick="delAll()">
					<i class="layui-icon">&#xe640;</i>批量删除
				</button>
				<button class="layui-btn" onclick="question_add()">
					<i class="layui-icon">&#xe608;</i>添加
				</button>
			</xblock>

            <a id='download_a' href="" download='' style="display: none;"></a>
            <table class="layui-table">
                <thead>
                    <tr>
                        <th style="width: 1%;">
							<input type="checkbox" name="" value="" id="checkAll">
						</th>
						<th style="width: 8%;">轮播图</th>
						<th style="width: 8%;">描述</th>
						<th style="width: 8%;" value="banner_createtime" class="list_sort_tab">添加时间
							<i class="icon_downs createcolor1 sortfildshiti"
                               tp="QuestionNum_Y" name="desc"></i>
						</th>
						<th style="width: 5%;">操作</th>
                    </tr>
                </thead>
                <tbody id="biuuu_city_list">

                </tbody>
            </table>

          	<!--页码 start-->
            <div class="bottom_page">
                <div class="my_client_b_l">
                    <a href="#" onclick="downloadSourceMaterial()">下载</a>
                    <a href="#" class="alldowload" onclick="downloadAllSourceMaterial()"
                       style="display: inline-block;">全部下载</a>
                </div>
                <div id="biuuu_city" style="margin: 2px auto;text-align: center;">
                    <div style="float: right;padding:7px 20px;" id="bottom">
                        <div class="select_wrap select_w" onselectstart="return false">
                            <div style="float: left;">
                                <span class="bottom_left_tit">
                                    共 <span id="totalSize">0</span> 行
                                          每页显示行:
                                      </span>
                                <span style="float: left;" class="select_span1">
                                    <span id="selectPageSize">
                                        <span id="selectPageSize1">10</span>
                                        <i class="icon-angle-up"></i>
                                    </span>
                                    <ul class="select_ul2" id="select_page_ul" onclick="this.style.display='none'">
                                        <li>10</li>
                                        <li>20</li>
                                        <li>30</li>
                                        <li>50</li>
                                        <li>100</li>
                                    </ul>
                                </span>

                            </div>
                            <div style="float: left;margin-left: 5px" id="site">
                                <button id="first_button" onclick="changeCurrentPage('first')">
                                    <i class="icon-double-angle-left"></i>
                                </button>
                                <button id="last_button" onclick="changeCurrentPage('last');">
                                    <i class="icon-angle-left"></i></button>
                                <div class="page_numdiv">
                                    <span id="currentPage">1</span>/<span id="totalPage">1</span>
                                </div>
                                <button id="next_button" onclick="changeCurrentPage('next');">
                                    <i class="icon-angle-right"></i></button>
                                <button id="end_button" onclick="changeCurrentPage('end')">
                                    <i class="icon-double-angle-right"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
			<!--页码 end-->

            <!--新建，修改弹框-->
            <div id="newlybuildwin" style="display: none;"
                 class="popup_wrap nre_alert linepopup layui-layer-wrap">
                <div class="popup_tit"></div>
                <div style=" max-height: 400px;overflow-y: auto;padding: 10px 0px;">
                    <div class="titBottom_w titBottom_s">
                        <div class="status_">
                            <input id="add_banner_encryptId" type="hidden" value="">
                            <table style="min-width: 450px;max-width: 450px;">

                                <tr class="tr_s">
                                    <td class="status_s">
                                        <span>描述：</span>
                                    </td>
                                    <td>
                                        <input type="text" id="add_banner_desc" style="width: 80%" value="" >
                                    </td>
                                </tr>

                                <tr class="tr_s">
                                    <td class="status_s" style="vertical-align: top;padding-top: 10px;">
                                        <span>轮播图：</span></td>
                                    <td>
                                        <div class="uploadPicture_div">
                                            <input name="file" type="file" id="test1" class="file_input"
                                                   style="display: none;">
                                            <input class="file_url" id="imgPath" type="text" style="width: 65%">
                                            <a class="xinjian_btn" style="margin-top: 9px;margin-left: 10px;"
                                               onclick="$(this).siblings('.file_input').click()" href="javascript:void(0)">
                                                上&nbsp;传
                                            </a>
                                            <div style="clear: both;"></div>
                                            <img id="demo1" class="upload_img_show">
                                        </div>
                                    </td>
                                </tr>

                            </table>
                        </div>
                    </div>
                </div>
                <div class="linepopup_div"></div>
                <div class="d_btn">
                    <div class="linepopup_button">
                        <a class="Save_s" onclick="addBannerSave()" href="javascript:void(0)">确定</a> <a
                            href="javascript:mclose()" class="sure_btn1" style="margin-right: 15px;">取消</a>
                    </div>
                </div>
            </div>
        
        </div>
    </body>
</html>